package cn.cs.service;


import cn.cs.common.Page;
import cn.cs.pojo.UserCompany;

import java.util.List;
import java.util.Map;

public interface UserCompanyService {

    public UserCompany getUserCompanyById(String id) throws Exception;

    public List<UserCompany> getUserCompanyListByMap(Map<String, Object> param) throws Exception;

    public Integer getUserCompanyCountByMap(Map<String, Object> param) throws Exception;

    public Integer addUserCompany(UserCompany userCompany) throws Exception;

    public Integer modifyUserCompany(UserCompany userCompany) throws Exception;

    public Integer deleteUserCompanyById(String id) throws Exception;

    public Page<UserCompany> queryUserCompanyPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public Integer updateAddressTypeId(String id) throws Exception;
}
